package service

import (
	"gin-demo/model"
	"gin-demo/mysql"
)

// GetAllCategoryList 获取所有分类
func GetAllCategoryList() (categoryList []*model.Category) {
	categoryList, err := mysql.GetAllCategoryList()
	if err != nil {
		return
	}
	return
}
